package com.yzpc.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class Script {

    private Integer scriptId;

    private String scriptName;

    //@JsonProperty("script_content")
    private String scriptContent;

    private String userName;

    private Integer scriptStatus;

    private Integer used;

    @Override
    public String toString() {
        return "Script{" +
                "scriptId=" + scriptId +
                ", scriptName='" + scriptName + '\'' +
                ", scriptContent='" + scriptContent + '\'' +
                ", userName='" + userName + '\'' +
                ", scriptStatus=" + scriptStatus +
                ", used=" + used +
                '}';
    }

    public Integer getUsed() {
        return used;
    }

    public void setUsed(Integer used) {
        this.used = used;
    }

    public Integer getScriptStatus() {
        return scriptStatus;
    }

    public void setScriptStatus(Integer scriptStatus) {
        this.scriptStatus = scriptStatus;
    }

    public Script() {
    }

    public Script(Integer scriptId, String scriptName, String scriptContent) {
        this.scriptId = scriptId;
        this.scriptName = scriptName;
        this.scriptContent = scriptContent;
    }

    public Integer getScriptId() {
        return scriptId;
    }

    public void setScriptId(Integer scriptId) {
        this.scriptId = scriptId;
    }

    public String getScriptName() {
        return scriptName;
    }

    public void setScriptName(String scriptName) {
        this.scriptName = scriptName;
    }

    public String getScriptContent() {
        return scriptContent;
    }

    public void setScriptContent(String scriptContent) {
        this.scriptContent = scriptContent;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}